package com.coconet.gas.vo.dw;

import java.io.Serializable;
import javax.persistence.*;

@Table(name = "ips_rule")
public class IpsRule implements Serializable {
    @Id
    private String rid;

    private String rname;

    private String type;

    private String level;

    private String id;

    private String impact;

    private String cve;

    @Column(name = "ref_value")
    private String refValue;

    private String information;

    private static final long serialVersionUID = 1L;

    /**
     * @return rid
     */
    public String getRid() {
        return rid;
    }

    /**
     * @param rid
     */
    public void setRid(String rid) {
        this.rid = rid;
    }

    /**
     * @return rname
     */
    public String getRname() {
        return rname;
    }

    /**
     * @param rname
     */
    public void setRname(String rname) {
        this.rname = rname;
    }

    /**
     * @return type
     */
    public String getType() {
        return type;
    }

    /**
     * @param type
     */
    public void setType(String type) {
        this.type = type;
    }

    /**
     * @return level
     */
    public String getLevel() {
        return level;
    }

    /**
     * @param level
     */
    public void setLevel(String level) {
        this.level = level;
    }

    /**
     * @return id
     */
    public String getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * @return impact
     */
    public String getImpact() {
        return impact;
    }

    /**
     * @param impact
     */
    public void setImpact(String impact) {
        this.impact = impact;
    }

    /**
     * @return cve
     */
    public String getCve() {
        return cve;
    }

    /**
     * @param cve
     */
    public void setCve(String cve) {
        this.cve = cve;
    }

    /**
     * @return ref_value
     */
    public String getRefValue() {
        return refValue;
    }

    /**
     * @param refValue
     */
    public void setRefValue(String refValue) {
        this.refValue = refValue;
    }

    /**
     * @return information
     */
    public String getInformation() {
        return information;
    }

    /**
     * @param information
     */
    public void setInformation(String information) {
        this.information = information;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", rid=").append(rid);
        sb.append(", rname=").append(rname);
        sb.append(", type=").append(type);
        sb.append(", level=").append(level);
        sb.append(", id=").append(id);
        sb.append(", impact=").append(impact);
        sb.append(", cve=").append(cve);
        sb.append(", refValue=").append(refValue);
        sb.append(", information=").append(information);
        sb.append("]");
        return sb.toString();
    }
}